home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 36 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: in2.uu.net!bounce-back
  2. Date: 12 Jan 96 17:18:45 GMT
  3. Approved: fjh@cs.mu.oz.au
  4. From: solution@gate.net (Ken Walter)
  5. Newsgroups: comp.lang.c++,comp.std.c++
  6. Subject: Re: Name-mangling standard
  7. X-Original-Date: 12 Jan 1996 12:42:45 GMT
  8. Organization: Solution Technology
  9. Message-ID: <4d5l05$238e@news.gate.net>
  10. References: <20c.32169.607@newage.com.ar> <4bsnbu$5mu@mujibur.inmind.com> <30EDC013.7C780E5E@cims.nyu.edu>
  11. X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMPaYHeEDnX0m9pzZAQFmzQF/b7y7d5FvqS/us35Fzq7d3HBZFKzZEhMZ
  14.     GYlxnbaWfkpjFpIpC5fEZibBf1l6q4nD
  15.     =dkLI
  16.  
  17. In message <DL1pqE.KKq@infosoft.com> - jgalt@infosoft.com (John Galt) writes:
  18.  
  19. :>> I certainly hope not!  Name mangling is a solution to passing type
  20. :>> information to 1950's linkers.  Once linkers become more sophisticated,
  21. :>> name mangling can disappear back into the slime from which it came.
  22. :>
  23. :>I beg to differ.  Name mangling serves several indispensible functions:
  24.  
  25. :>In short, wanting to eliminate name mangling is like wanting a compiler that
  26. :>never prints error messages.  It's for people who would rather walk off a
  27. :>cliff than have someone tell them they're about to.
  28.  
  29. Yes, but linkers should hide the fact that names are mangled by only printing
  30. the unmangled version.  The user should NEVER see the mangled names
  31. but should see the "declaration" instead.
  32.  
  33. Linkers should also NOT limit the name lengths but I expect this to fade away 
  34. eventually.
  35.  
  36. Ken Walter
  37.  
  38. * All the above is hearsay and the opinion of nobody in particular
  39. ---
  40. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  41.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  42.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  43.